package com.gc.business.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gc.common.base.BaseEntity;
import com.gc.system.domain.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 救援记录表 gc_rescue_record
 * 
 * @author liujinteng
 * @date 2020-11-21
 */
@EqualsAndHashCode(callSuper = true)
@ToString
@Data
@Accessors(chain = true)
@TableName("gc_rescue_record")
public class RescueRecord extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long recordId;
	
    /**
    * 困人详情ID
    */
    private Long tiringId;
    /**
    * 用户ID
    */
    private Long userId;
    /**
    * 困人状态（0:上报困人;1:启动救援;2:接受任务;3:到达现场;4:完成救援;5:确认完成）
    */
    private String tiringState;

    //救援人员
    @TableField(exist = false)
    private SysUser user;
}
